import { createRouter, createWebHashHistory } from "vue-router";
import route from "./route";
const routes = [
    {
        path: "/",
        name: "Layout",
        component: () => import("@/pages/layout.vue"),
        children: route,
    }
];

const router = createRouter({
    history: createWebHashHistory(),
    routes: routes,
})
export default router;